<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/common/taglib.jsp"%>
<html>
<head>
<title>永川公交网</title>
<base href="<%=basePath%>">
<base target="show">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport"
	content="initial-scale=1, maximum-scale=1, user-scalable=no" />
<link rel="stylesheet" href="ext/bootstrap/3.3.0/css/bootstrap.min.css">
<link rel="stylesheet"
	href="ext/bootstrap/3.3.0/css/bootstrap-theme.min.css">
<script src="ext/jquery/1.11.2/jquery-1.11.2.min.js"></script>
<script src="ext/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
  <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body style="height: 100%;width: 100%;">
<nav id="nav" class="navbar navbar-inverse navbar-static-top">
		<div class="container-fluid">
			<!-- Brand and toggle get grouped for better mobile display -->
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed"
					data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
					<span class="sr-only">Toggle navigation</span> <span
						class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="app/home">永川公交</a>
			</div>

			<!-- Collect the nav links, forms, and other content for toggling -->
			<div class="collapse navbar-collapse"
				id="bs-example-navbar-collapse-1">
				<ul class="nav navbar-nav">
					<li><a href="app/home"><span class="glyphicon glyphicon-home"></span> 首页</a></li>
					<li><a href="app/news"><span class="glyphicon glyphicon-time"></span> 新闻</a></li>
					<li><a href="app/find"><span class="glyphicon glyphicon-search"></span> 发现</a></li>
				</ul>
				<form class="navbar-form navbar-left" role="search" action="q">
					<div class="input-group">
						<input type="text" name="q" class="form-control" placeholder="请输入查询信息">
						<span class="input-group-btn">
							<button type="submit" class="btn btn-default">查询</button>
						</span>
					</div>

				</form>
			</div>
			<!-- /.navbar-collapse -->
		</div>
		<!-- /.container-fluid -->
	</nav>
<iframe name="show" id="iframe" src="app/home" style="width: 100%;position:absolute ;top: 0px;bottom: 0px;"></iframe>
<script type="text/javascript">
document.getElementById("iframe").style.top=document.getElementById("nav").offsetHeight+"px";
document.getElementById("iframe").style.height=document.body.offsetHeight-document.getElementById("nav").offsetHeight+"px";
</script>
</body>
</html>